/**
 * 
 */
package com.farkas.service;

import org.springframework.beans.factory.annotation.Autowired;

import com.farkas.dao.UserMapper;
import com.farkas.model.User;

/**
 * @author farkas
 *
 */
public class UserServiceImpl implements UserServiceI {
	
	@Autowired
	private UserMapper userMapper;

	/* (non-Javadoc)
	 * @see com.farkas.service.UserServiceI#getUserById(int)
	 */
	@Override
	public User getUserById(int id) {
		return userMapper.selectByPrimaryKey(id);
	}

}
